

// ---------------------------------------- 退出功能 ----------------------------------------
$('#logout-btn').on('click', function () {
  layer.confirm('确认退出?', () => {
    localStorage.removeItem('token')
    location.href = './login.html'
  })
})